package top.honlnk.czuan.common.config;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Getter
@Component
public class ConstantConfig {

    @Value("${power.option.get}")
    private String GET_POWER;
    @Value("${power.option.comment}")
    private String COMMENT_POWER;
    @Value("${power.option.add}")
    private String ADD_POWER;
    @Value("${power.option.update}")
    private String UPDATE_POWER;
    @Value("${power.option.delete}")
    private String DEL_POWER;
    @Value("${power.option.word.test}")
    private String TEST_POWER;
    @Value("${power.option.manage.users}")
    private String MANAGE_USERS_POWER;

    @Value("${root.user.id}")
    private Integer ROOT_USER_ID;

    @Value("${ali.oss.endpoint}")
    private String aliOssEndpoint;
    @Value("${ali.oss.public.access.domain}")
    private String aliOssPublicAccessDomain;
    @Value("${ali.oss.access_key_id}")
    private String aliOssAccessKeyId;
    @Value("${ali.oss.access_key_secret}")
    private String aliOssAccessKeySecret;
    @Value("${ali.oss.bucket_name}")
    private String aliOssBucketName;

    @Value("${snowflake.id.start.date}")
    private String snowflakeIdStartDate;
}
